package com.chat.service;

import com.chat.entry.dto.group.ReadAllMessageDTO;
import com.chat.entry.dto.group.ReadSingleMessageDTO;
import com.chat.entry.po.GroupMessageUnread;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.result.Result;

/**
 * <p>
 * 群未读表 服务类
 * </p>
 *
 * @author author
 * @since 2025-09-14
 */
public interface IGroupMessageUnreadService extends IService<GroupMessageUnread> {

    Result singleMessageRead(ReadSingleMessageDTO readSingleMessageDTO);

    Result readAllGroupChatMessage(ReadAllMessageDTO readAllMessageDTO);

    Result readAllMessage(Integer userId);
}
